clear all;
clc;
y1=[];
i=1;
for t=3.4013:0.00024:3.58;
    y1(i)=(sin(pi/24*(t-12))+1)*0.5;
    i=i+1;
end
for t=3.58:0.12:21;
    y1(i)=(sin(pi/24*(t-12))+1)*0.5;
    i=i+1;
end
for t=21:0.0043:25.98;
         y1(i)=(sin(pi/24*(t-12))+1)*0.5;
    i=i+1;
end
for t=25.98:0.17:44
        y1(i)=(sin(pi/24*(t-12))+1)*0.5;
    i=i+1;
end
for t=44:0.0025:44.603
        y1(i)=(sin(pi/24*(t-12))+1)*0.5;
    i=i+1;
end
y1
figure(1)
plot(y1);
hold on;
set(gca,'XTick',0:100:2400)  
set(gca,'XTickLabel',{'0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24'})  
xlabel('time');  
ylabel('network load'); 
hold on;




